import req from './index.js'

//收货单查询
export const deliverSearch = (data, res) => req.get('/cxyd-pda/deliver-page', data, res)
//入库单查询
export const purchaseSearch = (data, res) => req.get('/cxyd-pda/detail/list', data, res)
//托盘详情查询
export const contSearch = (data, res) => req.get('/cxyd-pda/detail-cont', data, res)
//入库登记
export const registerConfirm = (data, res) => req.post('/cxyd-pda/register', data, res)
//托盘放行
export const contRelease=(data, res) => req.post('/cxyd-pda/store', data, res)
//快速返库
export const residualConfirm = (data, res) => req.post('/cxyd-pda/residual', data, res)
//作业任务查询(出库任务&盘点任务task-page)
export const taskSearch = (data, res) => req.get('/cxyd-pda/task/query', data, res)
//所有任务查询
export const taskQuery=(data, res) => req.get('/cxyd-pda/task-page', data, res)
//出库确认
export const outConfirm = (data, res) => req.post('/cxyd-pda/outbound/completed', data, res)
// 盘点确认
export const checkConfirm = (data, res) => req.post('/cxyd-pda/check-affirm', data, res)
//空框登记
export const emptyRegister = (data, res) => req.post('/cxyd-pda/empty-register', data, res)
//空框呼叫
export const emptyCall = (data, res) => req.post('/cxyd-pda/empty-call', data, res)